package com.foreknow.service;

import com.foreknow.bean.Guestbook;

import java.sql.SQLException;
import java.util.List;

public interface GuestbookService {
    /**
     * 查询所有信息
     * @return
     */
    public List<Object> getAll();

    /**
     * 根据id删除
     * @param id
     * @return
     */
    public boolean deleteBean(Integer id);

    /**
     * 添加
     * @param gb
     * @return
     */
    public boolean add(Guestbook gb);


}
